Skip to content

fix: fuse duplicate hosts#68

Merged
jgkawell merged 4 commits intomainfrom
fix/fuse-duplicate-hosts
Mar 4, 2025
Merged

fix: fuse duplicate hosts#68
jgkawell merged 4 commits intomainfrom
fix/fuse-duplicate-hosts

Conversation

@jgkawell
Copy link
Member

@jgkawell jgkawell commented Mar 4, 2025

This PR fixes an issue where registered routes with the same host would be rejected by envoy. Hosts (called domains in the envoy config) must be unique across all virtual hosts (ref).

In a previous chassis PR (#67), the requirement for a host to be set when calling WithRoute was removed. This PR now will add routes without a specified host to a default host (which is * for now but should be configurable).

The other changes are just little cleanup items.

@jgkawell jgkawell merged commit 436f66c into main Mar 4, 2025
3 checks passed
@jgkawell jgkawell deleted the fix/fuse-duplicate-hosts branch March 4, 2025 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant